<?php


namespace App\Providers;


use XinYaTable\Forms\Providers\FormServiceProvider;

class AdminFormServiceProvider extends FormServiceProvider {
    protected $_isDingo     = true;
    protected $_routePrefix = 'admin/';
    
    //public static $formAfterMiddlewareList = [\XinYaTable\Forms\Middleware\After::class];
    
    //protected $_otherMiddlewareList = ['jwt.auth'];
    
    public function register() {
        FormServiceProvider::$formTableIdentityColumn = 'id';//如果表单接口要以id为目标，请把这个设为id
        parent::register();
    }
}